<html>

    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title> - 房间创建</title>
        <meta name="keywords" content="">
        <meta name="description" content="">

        <link rel="shortcut icon" href="favicon.ico">

        <link href="assets/home/css/bootstrap.min.css" rel="stylesheet">
        <link href="assets/home/css/font-awesome.min.css" rel="stylesheet">

        <link href="assets/home/css/plugins/animate.css" rel="stylesheet">
        <link href="assets/home/css/plugins/style.css?v=4.1.0" rel="stylesheet">
        <style>
            .lockscreen.middle-box {
                width: 300px;
            }

            .fadeInDown p {
                text-align: left;
                padding-top: 10px;

            }

            .img-input {
                position: absolute;
                top: -158px;
                width: 212px;
                height: 212px;
                text-align: center;
                left: 0;
                right: 0;
                bottom: 0;
                border-radius: 50%;
                margin: auto;
                background: rgba(0, 0, 0, .5);
                opacity: 0;
            }

        </style>
    </head>

    <body class="gray-bg" style="background: linear-gradient(to right,#23b7e5,#b9f2c2);">

        <div class="lock-word animated fadeInDown">
        </div>
        <div class="middle-box text-center lockscreen animated fadeInDown" style="padding-top:40px">
            <div>
                <form class="m-t" role="form" id="form">
                    <div class="m-b-md">
                        <img alt="image" class="img-circle circle-border" id="room-icon" src="assets/home/img/a1.jpg"
                            width="212px" height="212px" style="object-fit: cover;">
                        <input class="form-control-file img-input" name="file" id="fileicon" type="file"
                            aria-describedby="fileHelp">
                    </div>
                    <h3>房间头像</h3>

                    <div class="form-group">
                        <input type="text" class="form-control" placeholder="填写房间名称" required="" name="room">
                    </div>
                    <div class="form-group">
                        <input type="password" class="form-control" placeholder="填写房间密码（可为空）" required="" name="passwd">
                    </div>
                    <div class="form-group">
                        <p style="margin-top:8px">
                            <code>每位用户每级增加一个房间位,当前可创建房间总数为 {{$data->lv}}</code>
                        </p>
                        {{-- <input type="text" class="form-control" placeholder="请输入邀请码 (若无可不填)" required="" name="code"> --}}
                    </div>
                    <button type="button" class="btn btn-primary block full-width" id="hold">立即创建</button>
                </form>
            </div>
        </div>

        <script type="text/javascript" src="assets/home/js/jquery-3.4.1.min.js"></script>
        <script type="text/javascript" src="assets/home/js/bootstrap.min.js"></script>
        <script src="assets/layer/layer.js"></script>

        <script type="text/javascript" src="/assets/home/js/operation/creator.js"></script>
    </body>

</html>
